﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cadence.NET.Models
{
    public class CadenceStatusWebResponse
    {
        /// <summary>
        /// Gets or sets the status.
        /// </summary>
        /// <value>
        /// The status.
        /// </value>
        public string Status { get; set; }

        /// <summary>
        /// Gets or sets the commands.
        /// </summary>
        /// <value>
        /// The commands.
        /// </value>
        public List<string> Commands { get; set; }

        /// <summary>
        /// Gets or sets the start date.
        /// </summary>
        /// <value>
        /// The start date.
        /// </value>
        public DateTime StartDate { get; set; }

        /// <summary>
        /// Gets or sets the active tasks.
        /// </summary>
        /// <value>
        /// The active tasks.
        /// </value>
        public List<Task> ActiveTasks { get; set; }

        /// <summary>
        /// Gets or sets all tasks.
        /// </summary>
        /// <value>
        /// All tasks.
        /// </value>
        public List<Task> AllTasks { get; set; }

        /// <summary>
        /// Gets or sets the interval.
        /// </summary>
        /// <value>
        /// The interval.
        /// </value>
        public Interval Interval { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether [run once].
        /// </summary>
        /// <value>
        ///   <c>true</c> if [run once]; otherwise, <c>false</c>.
        /// </value>
        public bool RunOnce { get; set; }
    }
}
